<style lang="less">
  .el-header,
  .el-footer {
    color: var(--main-color);
    text-align: center;
    line-height: 60px;
  }
  .el-footer {
    color: var(--pl-color);
  }
  .el-aside {
    background-color: #D3DCE6;
    color: var(--main-color);
    text-align: center;
  }
  .el-main {
    background-color: #E9EEF3;
    color: var(--main-color);
  }
</style>

<template>
  <el-container id="app">
    <el-aside width="200px">
      <aside-menu />
    </el-aside>
    <el-container>
      <el-header>
        <header-bar />  
      </el-header>
      <el-main>
        <router-view />
      </el-main>
      <el-footer>Copyright © 2020 kyan</el-footer>
    </el-container>
  </el-container>
</template>

<script>
import AsideMenu from '@/components/layout/aside-menu'
import HeaderBar from '@/components/layout/header-bar'

export default {
  name: 'App',
  components: {
    AsideMenu,
    HeaderBar,
  }
}
</script>